package com.itheima.config;

import com.itheima.bean.DogFactoryBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;

/**
 * ClassName: SpringConfig3
 * Description:
 * Date: 2023/03/22 PM 8:41:45
 * <p>
 * project: springboot
 * package: com.itheima.config
 * email: 1085844536@qq.com
 * version:
 *
 * @author WangGuojian
 */
@ComponentScan({"com.itheima.bean", "com.itheima.config"})
public class SpringConfig3 {

    @Bean
    public DogFactoryBean dog() {
        return new DogFactoryBean();
    }
}
